package com.czbank.financing.Entity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
public class Account {

    private long id;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getCancellation() {
        return cancellation;
    }

    public void setCancellation(Date cancellation) {
        this.cancellation = cancellation;
    }

    public Date getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

    private long uid;

    private double balance;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date cancellation;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date creationtime;


}
